package org.qiyu.live.im.router.provider.rpc;

import jakarta.annotation.Resource;
import org.apache.dubbo.config.annotation.DubboService;
import org.qiyu.im.router.interfaces.rpc.ImRouterRpc;
import org.qiyu.live.im.dto.ImMsgBody;
import org.qiyu.live.im.router.provider.service.ImRouterService;

/**
 * @Description: TODO
 * @Author zhangguangyan
 * @Date 2023/09/18/ 21:54:59
 */
@DubboService
public class ImRouterRpcImpl implements ImRouterRpc {
    @Resource
    private ImRouterService routerService;
    @Override
    public boolean sendMsg( ImMsgBody msgJson) {
        return routerService.sendMsg(msgJson);
    }
}
